package com.ruoyi.game.domain.entity;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户wingo投注信息对象 t_user_wingo_record
 * 
 * @author ruoyi
 * @date 2024-05-21
 */
public class UserWingoRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 场次编号 */
    @Excel(name = "场次编号")
    private String roundNo;

    /** 玩法 */
    @Excel(name = "玩法")
    private Integer playType;

    /** 值 */
    @Excel(name = "值")
    private String playValue;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 倍数 */
    @Excel(name = "倍数")
    private Integer mulX;

    /** 总金额不含手续费 */
    @Excel(name = "总金额不含手续费")
    private BigDecimal totalAmount;

    /** 奖金 */
    @Excel(name = "奖金")
    private BigDecimal winAmount;

    /** 是否赢 */
    @Excel(name = "是否赢")
    private Integer toWin;

    /** 是否结束 */
    @Excel(name = "是否结束")
    private Integer toEnd;

    /** 时限，单位：秒 */
    private Integer timeLimit;
    /** 开奖结果 */
    @Excel(name = "开奖结果")
    private String lotteryResult;
    public Integer getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(Integer timeLimit) {
        this.timeLimit = timeLimit;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRoundNo(String roundNo) 
    {
        this.roundNo = roundNo;
    }

    public String getRoundNo() 
    {
        return roundNo;
    }
    public void setPlayType(Integer playType) 
    {
        this.playType = playType;
    }

    public Integer getPlayType() 
    {
        return playType;
    }
    public void setPlayValue(String playValue) 
    {
        this.playValue = playValue;
    }

    public String getPlayValue() 
    {
        return playValue;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setMulX(Integer mulX) 
    {
        this.mulX = mulX;
    }

    public Integer getMulX() 
    {
        return mulX;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setWinAmount(BigDecimal winAmount) 
    {
        this.winAmount = winAmount;
    }

    public BigDecimal getWinAmount() 
    {
        return winAmount;
    }
    public void setToWin(Integer toWin) 
    {
        this.toWin = toWin;
    }

    public Integer getToWin() 
    {
        return toWin;
    }
    public void setToEnd(Integer toEnd) 
    {
        this.toEnd = toEnd;
    }

    public Integer getToEnd() 
    {
        return toEnd;
    }

    public String getLotteryResult() {
        return lotteryResult;
    }

    public void setLotteryResult(String lotteryResult) {
        this.lotteryResult = lotteryResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("roundNo", getRoundNo())
            .append("playType", getPlayType())
            .append("playValue", getPlayValue())
            .append("amount", getAmount())
            .append("mulX", getMulX())
            .append("totalAmount", getTotalAmount())
            .append("winAmount", getWinAmount())
            .append("toWin", getToWin())
            .append("toEnd", getToEnd())
            .append("createTime", getCreateTime())
                .append("lotteryResult",getLotteryResult())
            .toString();
    }
}
